home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / kexec-tools.config < prev    next >
Encoding:
Text File  |  2010-10-18  |  487 b   |  24 lines

  1. #!/bin/sh -e
  2. CONFFILE=/etc/default/kexec
  3.  
  4. # Source debconf library.
  5. . /usr/share/debconf/confmodule
  6.  
  7. CONFIG_MODE=""
  8.  
  9. if test -e "$CONFFILE"; then
  10.     . "$CONFFILE"
  11.  
  12.     # Guard against admin writing silly things into the
  13.     # config file...
  14.     if test "$LOAD_KEXEC" != "1" -a "$LOAD_KEXEC" != "true" ; then 
  15.         db_set kexec-tools/load_kexec "false"
  16.     else
  17.         db_set kexec-tools/load_kexec "true"
  18.     fi
  19. fi
  20.  
  21. # Setup and select the configuration mode
  22. db_input medium kexec-tools/load_kexec || true
  23. db_go
  24.